﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Domain.Models
{
    public class BaseEntity
    {
        [DisplayName("数据状态")]
        [DefaultValue(EntityStatus.InActive)]
        public EntityStatus EntityStatus { get; set; }

        [DisplayName("创建时间")]
        public DateTime? CreateTime { get; set; }

        [DisplayName("创建人")]
        [StringLength(200)]
        public string CreateBy { get; set; }

        [DisplayName("更新时间")]
        public DateTime? UpdateTime { get; set; }

        [DisplayName("更新人")]
        [StringLength(200)]
        public string UpdateBy { get; set; }

    }
}
